package com.gxar.quick.ar.server.base.model.protocol.common;

import com.gxar.quick.ar.server.base.common.enums.protocol.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 通用AR内容模型
 *
 * @author zxh
 * @version 1.0
 * @created 2024/01/02.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CommonArContentModel extends BaseArInfoModel {

    /**
     * 内容编号
     */
    private String id;

    /**
     * 内容类型
     */
    private String type;

    /**
     * 内容子类型
     */
    private ArContentSubTypeEnum subType;

    private ArMediaTypeEnum linkType;

    private Boolean is3dItem;

    private ArContentFillTypeEnum fillType;

    private Boolean isBorder = false;

    private String alphaMode;

    private ArEffectEnum effect;

    private CommonArItemTextModel text;

    private CommonArItemAnimationModel animation;

    private CommonArItemBorderModel border;

    private Boolean hasBorder;

    /**
     * 每单位像素
     * from Unity
     */
    private Double pixelPerUnit;
}
